package fa7.socialcode.dao;

import java.util.Date;
import java.util.List;

import fa7.socialcode.model.Noticia;

public interface NoticiaDao extends Dao {

	public List findNoticias();
	
	public Noticia findNoticia(Long noticiaId);
	
	public List findNoticiasByDate();
	
	public Noticia findNoticiaByDate(Long noticiaId);

	public void saveNoticia(Noticia noticia);

	public void removeNoticia(Long noticiaId);

	public void removeNoticia(Noticia noticia);

	public Date findDataPostagemById(Long id);

}
